@import "~taro-ui/dist/style/components/checkbox.scss";
@import "~taro-ui/dist/style/components/icon.scss";

.rain_control_wrap {
	width: 100vw;
	min-height: 100vh;
	background-color: #f1f4f6;
	padding-top: 6px;
}

.yw_select_item_box {
	display: flex;
	flex-direction: row;
	background-color: white;
	padding: 18px 6px 18px 20px;
	border-radius: 6px;
	margin-top: 20px;
	position: relative;
	overflow: hidden;
	box-shadow: 1px 1px 2px #ccc;

	.icon_img {
		width: 24px;
		height: 22px;
	}

	.label_text {
		margin-left: 12px;
		position: relative;
		top: 1px;
		color: black;
	}

	.jb_img {
		position: absolute;
		top: 0;
		right: 0;
		width: 28px;
		height: 28px;
	}
}

.auto_mode_box {
	display: flex;
	flex-direction: column;
	margin-top: 20px;

	.auto_set_item {
		display: flex;
		flex-direction: row;
		line-height: 36px;
		margin-top: 16px;
		padding-left: 30px;

		.label_text {
			color: black;
			margin-right: 6px;
			font-size: 16px;
			letter-spacing: 1px;
		}

		.unit_text {
			font-size: 14px;
			margin-left: 6px;
			position: relative;
			top: 3px;
		}
	}
}

/* From Uiverse.io by vinodjangid07 */
#checkbox {
	display: none;
}

.switch {
	position: relative;
	width: fit-content;
	padding: 10px 20px;
	background-color: #148cf9;
	border-radius: 50px;
	z-index: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: white;
	font-size: 0.9em;
	font-weight: 600;
	transition: all 0.3s;
}
.switch svg path {
	fill: white;
}

.btn_box {
	margin-top: 120px;
	padding: 30px;
	box-sizing: border-box;
}

// button
.save_btn {
	margin-top: 16px;
	width: 100%;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	letter-spacing: 2px;
}
